function [mm_x,mm_y,rad_yaw,pm_cur,num]= PointRotateWithDegRotate(mm_start_x, mm_start_y, rad_start_yaw, mm_start_R, mm_End_x, mm_End_y, rad_End_yaw, mm_End_R, deg_offset)


[New_mm_Start_X ,New_mm_Start_Y ,New_rad_Start_Yaw] = PointRotate(mm_start_x, mm_start_y, rad_start_yaw,deg_offset);

[New_mm_End_X ,New_mm_End_Y ,New_rad_End_Yaw] = PointRotate(mm_End_x, mm_End_y, rad_End_yaw,deg_offset);

[mm_x_,mm_y_,rad_yaw_,pm_cur,num]= VtPolynoimal(New_mm_Start_X,New_mm_Start_Y,New_rad_Start_Yaw,mm_start_R,...
    New_mm_End_X,New_mm_End_Y,New_rad_End_Yaw,mm_End_R);


mm_x = single(zeros(1,300));
mm_y = single(zeros(1,300));
rad_yaw = single(zeros(1,300));

for i=1:num
    [mm_x(i), mm_y(i), rad_yaw(i)] = PointRotate(mm_x_(i), mm_y_(i), rad_yaw_(i),-deg_offset);
end
    
    



